#include "StdAfx.h"
#include "CmathButton.h"


CmathButton::CmathButton(void)
{
	m_strCaption = "";
	m_strOperLeft = "";
	m_strOperRight = "";
}

CmathButton::CmathButton( mathOper* pMathOper )
{
	this->m_strCaption = stringToCString(pMathOper->m_strOper);
	this->m_strOperLeft = m_strCaption + stringToCString(pMathOper->m_strGapLeft);
	this->m_strOperRight =  stringToCString(pMathOper->m_StrGapRight);
}


CmathButton::~CmathButton(void)
{

}
